<include file="public:header"/>
<div class="content clearfix">
    <div class="item_head mt15">
        <h2 class="red">
			<present name="pcate_info">
				{$pcate_info.name}			
			<else />
				热门
			</present>			
			<present name="cate_info">
				<span class="tag_title gray">&nbsp;&nbsp;{$cate_info.name}</span>
			</present>
		</h2>
        <!-- Baidu Button BEGIN -->
        <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare mt15" style="float:right;">
            <a class="bds_qzone"></a>
            <a class="bds_tsina" pic="logo"></a>
            <a class="bds_tqq"></a>
            <a class="bds_renren"></a>
            <span class="bds_more"></span>
        </div>
		<script type="text/javascript" id="bdshare_js" data="type=tools" ></script>
        <script type="text/javascript" id="bdshell_js"></script>
        <script type="text/javascript">
/**
 * 在这里定义bds_config
 */
var bds_config = {
	'bdPic':def.tmpl+'public/images/logo.gif'//'请参考自定义分享出去的图片'
}		
            document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
        </script>
        <!-- Baidu Button END -->
    </div>
    <div class="item_list infinite_scroll" style="min-height:600px;">
        <div class="box_shadow masonry_brick mt15" style="position: absolute; top: 0px; left: 0px;">
            <div class="tags_book clearfix">
                <ul class="tags_list">
                    <li <if condition="$cid eq ''">class="active"</if>><a href="{:u('cate/index',array('cid'=>0))}">热门</a></li>
                    <volist name="pcate" id="val">
                        <li <if condition="$val.id eq $pcid">class="active"</if>><a href="{:u('cate/index',array('cid'=>$val['id']))}">{$val.name}</a></li>
                    </volist>
                </ul>
                <ul class="sub_tags">
                    <volist name="scate" id="val">
                        <li <if condition="$val.id eq $cid">class="active"</if>><a href="{:u('cate/index',array('cid'=>$val['id']))}">{$val.name}</a></li>
                    </volist>
                </ul>
            </div>
        </div>
        <include file="public:goods_list"/>
    </div>
    <if condition="$show_sp eq 1">
        <div id="more" class="center">
            <a href="{:u('cate/index',array('cid'=>$cid,'sp'=>2,'p'=>$p))}" hidefocus="true"></a>
        </div>    	
   	</if> 
    <if condition="$page neq ''">
    	<div id="page" class="page mt20 clearfix" style="display: none;">
        	<span class="page_num">{$page}</span>
        </div>
     </if>     
</div>

<include file="public:footer"/>
